package com.ynny.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "service-provider-yxl")
public interface HIService {
    @GetMapping(value = "/provider/hello")
    String hello(@RequestParam(value = "userName", required = false)String userName);
}
